package com.miracle.main.module.mvp.contract;

import com.miracle.basemvp.base.BaseResponse;
import com.miracle.basemvp.base.IModel;
import com.miracle.basemvp.base.IView;
import com.miracle.basemvp.base.state.IPageView;
import com.miracle.common.mvp.entity.response.BaseListResponse;
import com.miracle.main.module.mvp.entity.bean.SecretBean;
import com.miracle.main.module.mvp.entity.request.SecretListRequest;

import io.reactivex.Observable;

/**
 * com.miracle.main.module.mvp.contract
 * (c)2018 AIR Times Inc. All rights reserved.
 *
 *
 * @author WangJQ
 * @version 1.0
 * @date 2018/7/7 9:19
 * @see com.miracle.main.module.mvp.contract
 */
public interface SecretContract2 {
    interface Model extends IModel {

        /**
         * 获取文件列表
         * @param request
         * @return
         */
        Observable<BaseResponse<BaseListResponse<SecretBean>>> getList(SecretListRequest request);
    }

    interface View extends IView<SecretBean> {
    }
}
